package com.cn.esermis.dpld.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cn.esermis.dpld.entity.DetectMonitoringFactor;
import com.cn.esermis.dpld.mapper.DetectMonitoringFactorMapper;
import com.cn.esermis.dpld.service.IDetectMonitoringFactorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

@Service
public class DetectMonitoringFactorImpl extends ServiceImpl<DetectMonitoringFactorMapper, DetectMonitoringFactor> implements IDetectMonitoringFactorService {

    @Resource
    private DetectMonitoringFactorMapper detectMonitoringFactorMapper;

    @Override
    public List<DetectMonitoringFactor> listByParentId(String parentId) {
        return detectMonitoringFactorMapper.listByParentId(parentId);
    }
}
